package com.corpgovernment.organization.entity.db;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;


/**
 *
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Table(name = "mb_org_switch_value")
@SuppressWarnings("serial")
public class MbOrgSwitchValue extends BaseEntity {

    /**
     * 开关id（存在多个相同值时，为拆分）
     **/
    @Column(name = "switch_id")
    @OperateLogFieldDesc(value = "开关id")
    private Long switchId;

    /**
     * 开关值（可拆分）
     **/
    @Column(name = "swtich_value")
    @OperateLogFieldDesc(value = "开关值")
    private String swtichValue;

    /**
     * 值的顺序
     **/
    @Column(name = "value_orderby")
    @OperateLogFieldDesc(value = "值的顺序")
    private Integer valueOrderby;
}
